package com.boil.qz.safekavass.web.controller;

import com.boil.util.OkBaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 
 * 主界面 Controller。
 * 
 * @author ChenYong
 * @date 2016-09-23
 *
 */
@Controller
@RequestMapping("/web")
public class MainController extends OkBaseController {
	/**
	 * 
	 * 首页。
	 * 
	 * @param model 模型
	 * @return 首页-“/jsp/index.jsp”
	 * 
	 */
	@RequestMapping(method = RequestMethod.GET, value = "/index.html")
	public String index(Model model, String test) {
		return "/index";
	}
}